package ace.module.account.api;

import ace.cmp.core.model.R;
import ace.cmp.sdk.api.SdkApi;
import ace.module.account.api.model.dto.IamAccountPasswordDto;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import java.util.List;

/**
 * @author Caspar
 */
public interface IamAccountPasswordApi extends SdkApi<IamAccountPasswordDto, Long> {

  R<List<IamAccountPasswordDto>> getByIamAppIdAndPassportAndPassportTypes(
      @Valid @NotNull Long iamAppId,
      @Valid @NotEmpty String passport,
      @Valid @NotEmpty List<Integer> passportTypes);
}
